package cn.hinglo.gameclaw.user.bean;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @createTime: 2017/12/29
 * @author: HingLo
 * @description: 娃娃的详情图
 */
@Data
@Accessors(chain = true)
@Table(name = "claw_image")
public class ClawImage {
    @Id
    private String id;
    /**
     * 机器的id
     */
    @Column(name = "cid")
    private Integer cid;
    /**
     * 图片名称
     */
    @Column(name = "image_url")
    private String imageUrl;
    /**
     * 时间
     */
    private Date date;
    /**
     * 描述
     */
    @NotNull(message = "图片的描述不能为空")
    private String depict;
}
